package org.example.travel_web.dto.route;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserRoutePageReq {
    @Schema(description = "页码", example = "1")
    @NotNull(message = "页码不能为空")
    private Integer page;
    @Schema(description = "每页数量", example = "10")
    @NotNull(message = "每页数量不能为空")
    private Integer size;
    @Schema(description = "类型")
    private Integer categoryId;
    @Schema(description = "关键字")
    private String keyword;
}
